package cn.iocoder.yudao.module.worker.controller.admin.category.vo;

import cn.iocoder.yudao.module.worker.dal.dataobject.goods.WorkerGoodsDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 商品分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CategoryRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19539")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "父分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23487")
    @ExcelProperty("父分类编号")
    private Long parentId;

    @Schema(description = "名称", example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "缩略图")
    @ExcelProperty("缩略图")
    private String thumb;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer weight;

    @Schema(description = "盲盒")
    @ExcelProperty("盲盒")
    private Boolean blindStatus;

    /**
     * 分类状态
     */
    private Boolean status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private Integer rowspan;

    private List<WorkerGoodsDO> goodsList;

    private List<CategoryRespVO> categoryList;

}